package main

import "fmt"

func main() {
	stuScoreMap := make(map[string]int)
	stuScoreMap["zhangsan"] = 100
	stuScoreMap["lisi"] = 99
	stuScoreMap["wangwu"] = 100

	// 遍历map
	for key, val := range stuScoreMap {
		fmt.Printf("stuScoreMap[%s]=%d\n", key, val)
	}
}
